package pattern.mediator;

import lombok.extern.slf4j.Slf4j;

/**
 * 切水果实现类
 *
 * @author sun.ye
 * @since 2020-07-16 15:12
 */
@Slf4j
public class CutFruits implements CutAble {
    @Override
    public String cut(CutHandle fruit) {
        log.info(fruit.getJuice());
        return fruit.getPiece();
    }
}